package com.jacars.biz.user.dao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jacars.common.model.JsptRole;
import com.jacars.db.mapper.SuperMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zlt
 * 角色
 */
@Mapper
public interface JsptRoleMapper extends SuperMapper<JsptRole> {
    List<JsptRole> findList(Page<JsptRole> page, @Param("r") Map<String, Object> params);

    List<JsptRole> findAll();

    void saveTenantRole(JsptRole jsptRole);
}
